package com.framework.entity.work;

import com.baomidou.mybatisplus.annotations.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * 功能描述: 终端解绑
 *
 * @author ck
 * @date 2018/10/25 17:19
 */
@Data
@ApiModel(value = "WorkUntie")
public class WorkUntie {
	/**
	 * 主键id
	 */
	@TableId
	@ApiModelProperty(hidden = true)
	private Long untieId;
	/**
	 * 终端sn
	 */
	@ApiModelProperty(value = "终端sn" ,required = true)
	private String sn;
	/**
	 * 商户名称
	 */
	@ApiModelProperty(value = "商户名称" ,required = true)
	private String merchantName;
	/**
	 * 手机号码
	 */
	@ApiModelProperty(value = "手机号码" ,required = true)
	private String phone;
	/**
	 * 所属代理商
	 */
	@ApiModelProperty(hidden = true)
	private Long agentId;
	/**
	 * 录入时间
	 */
	@ApiModelProperty(hidden = true)
	@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss")
	private Date createTime;
	/**
	 * 1:未处理 2：处理完成 3：处理失败
	 */
	@ApiModelProperty(hidden = true)
	private Integer isSolve;

}
